<div id="login">
	<h3>Login</h3>
	<form id="formLogin" name="formLogin" action="?option=logme" method="POST" onsubmit="return cc.marcio.functions.formValidate(['username','password'], ['Username', 'Password'],'formLogin');">
		<table width="200px" cellspacing="0" colspan="0">
			<tr>
				<td class="label">Username</td>
				<td class="input"><input type="text" name="username" /></td>
			</tr>
			<tr>
				<td class="label">Password</td>
				<td class="input"><input type="password" name="password" /></td>
			</tr>
			<tr>
				<td class="input">
					<input type="submit" value="Logar">
				</td>
				<td class="label">
					<center><a href="javascript:void(0);" onclick="lembrarSenha();">Lembrar Senha</a></center>
				</td>
			</tr>
		</table>		
	</form>
</div>
<script language="javascript">
	function lembrarSenha() {
		if( cc.marcio.functions.formValidate(['username'], ['Username'],'formLogin') ) {
			var form = document.forms[0];
			form.onsubmit = null;
			form.action = '?option=lembrarSenha';
			form.submit();	
		}
	}
</script>
	